package qtgui

import (
    "github.com/therecipe/qt/widgets"
)


func InitMainWindow() *widgets.QMainWindow {
    var window *widgets.QMainWindow
    var editor *Editor

    window = widgets.NewQMainWindow(nil, 0)
    window.Resize2(800, 600)

    //editor = InitEditor(window)
    editor = InitEditor(window)
    window.SetCentralWidget(editor)

    return window
}
